#ifndef TASK1_TIM_H
#define TASK1_TIM_H

#include "bits/stdc++.h"
#include "unistd.h"

using namespace std;

#define STRIGHT 0
#define LEFT 1
#define RIGHT 2

class tim {
public:
    int time_state_last;
    int time_state_current;
    int state;

    tim();

    void get_time_state();

    void set_time_state();

    void get_state();

    void run();
};

extern tim t;

#endif //TASK1_TIM_H
